//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _PatternRecord_h__
#define	_PatternRecord_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "libraries.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class PatternRecord {
  
  private:
    
    String*         pattern;
    
    int             paramCode;
    
    int             hits;
    int             seq;
    
    double          fitness;
    double          probability;
    double          weight;
    
    String*         toString;

  public:
    
    PatternRecord ();
    PatternRecord (const PatternRecord&);
    PatternRecord (const PatternRecord*);
    
    ~PatternRecord ();
    
    void            Pattern (String*);
    void            ParamCode (int);
    void            Hits (int);
    void            Seq (int);
    void            Fitness (double);
    void            Probability (double);
    void            Weight (double);

    String*         Pattern (void);
    int             ParamCode (void);
    int             Hits (void);
    int             Seq (void);
    double          Fitness (void);
    double          Probability (void);
    double          Weight (void);
    
    String*         ToString (void);

    PatternRecord operator= (const PatternRecord&);
    
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//

